import bitops, algorithm
const handShake = ["wink", "double blink", "close your eyes", "jump"]

proc commands*(secret: int): seq[string] = 
  for i, x in handShake:
    if secret.testBit(int(i)):
      result.add x

  if secret.testBit(4):
    result.reverse